package com.hu.zhcc.shiro.dao.xy;


import com.hu.zhcc.shiro.entity.xy.pojo.TAssessQuestion;
import io.swagger.models.auth.In;

import java.util.List;

public interface TAssessQuestionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TAssessQuestion record);

    int insertSelective(TAssessQuestion record);

    TAssessQuestion selectByPrimaryKey(Integer id);

    //查询所有的问题及答案
    List<TAssessQuestion> queryAllQuestion(Integer bankId);

    List<TAssessQuestion> queryAllAnswers(Integer bankId,Integer userId);

    int updateByPrimaryKeySelective(TAssessQuestion record);

    int updateByPrimaryKey(TAssessQuestion record);
}